<?php

	/**
	 * @see Bike_Form_Renderer_ExtJs_Field_Validate_Abstract
	 */
	require_once 'Bike/Form/Renderer/ExtJs/Field/Validate/Abstract.php';
	
	
	class Bike_Form_Renderer_ExtJs_Field_Validate_Digits extends Bike_Form_Renderer_ExtJs_Field_Validate_Abstract
	{		public function getSettings()
		{			$settings = array(
				'decimalPrecision' => 0,
				'minValue' => 0,
				'regex' => $js->Expr('/^[0-9]+$/'),
				'regexText' => $this->translate('Value contains non digits characters'),
			);
			return $settings;
		}
	}
